<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>调用 COM 组件的方法。</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.com-get.html">com_get</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.com-isenum.html">com_isenum</a></div>
 <div class="up"><a href="ref.com.html">COM 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.com-invoke" class="refentry">
  <div class="refnamediv">
   <h1 class="refname">com_invoke</h1>
   <p class="verinfo">(PHP 4)</p><p class="refpurpose"><span class="refname">com_invoke</span> &mdash; <span class="dc-title">
    调用 COM 组件的方法。
   </span></p>

  </div>
  <div class="refsect1 unknown-notet" id="refsect1-function.com-invoke-unknown-notet">
   <h3 class="title">描述</h3>
    <div class="methodsynopsis dc-description">
     <span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <span class="methodname"><strong>com_invoke</strong></span>
      ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$com_object</code></span>
     , <span class="methodparam"><span class="type">string</span> <code class="parameter">$function_name</code></span>
     [, <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$
      function parameters, ...
      </code></span>
    ] )</div>

   <p class="para rdfs-comment">
    <span class="function"><strong>com_invoke()</strong></span> 调用由
    <em><code class="parameter">com_object</code></em> 
    所引用的对象的方法。出错返回 <strong><code>FALSE</code></strong>，成功则返回
    <em><code class="parameter">function_name</code></em>
    的返回值。
   </p>
  </div>

 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.com-get.html">com_get</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.com-isenum.html">com_isenum</a></div>
 <div class="up"><a href="ref.com.html">COM 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
